package vip.xiaozhao.paotui.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import vip.xiaozhao.paotui.intf.entity.PaotuiWalletWithdrawChannel;
import vip.xiaozhao.paotui.intf.mapper.PaotuiWalletWithdrawChannelMapper;
import vip.xiaozhao.paotui.intf.service.PaotuiWalletWithdrawChannelService;

@Service
@Slf4j
public class PaotuiWalletWithdrawChannelServiceImpl implements PaotuiWalletWithdrawChannelService {

    @Autowired
    private PaotuiWalletWithdrawChannelMapper walletWithdrawChannelMapper;

    @Override
    public PaotuiWalletWithdrawChannel loadById(int id) {
        return walletWithdrawChannelMapper.loadById(id);
    }

    @Override
    public int insert(PaotuiWalletWithdrawChannel withdrawChannel) {
        return walletWithdrawChannelMapper.insert(withdrawChannel);
    }

    @Override
    public int update(PaotuiWalletWithdrawChannel withdrawChannel) {
        return walletWithdrawChannelMapper.update(withdrawChannel);
    }
}
